package com.wx.service;

import com.wx.model.NewsModel;

import java.util.List;

public interface INews {

    List<NewsModel> conditionFind(NewsModel newsModel);

    int getCont(NewsModel newsModel);

    int newsAdd(NewsModel newsModel);

    NewsModel newsFindById(NewsModel newsModel);

    int newsUpdate(NewsModel newsModel);

    int newsDeleteById(NewsModel newsModel);

    List<NewsModel> newsPageFind(NewsModel newsModel);

    List<NewsModel> newsTypeFindAll();
}
